<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::AbstractLinearSvmTrainer&lt; InputType &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html">AbstractLinearSvmTrainer</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_abstract_linear_svm_trainer-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle"><div class="title">shark::AbstractLinearSvmTrainer&lt; InputType &gt; Class Template Reference<div class="ingroups"><a class="el" href="group__supervised__trainer.html">Supervised Trainers</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>Super class of all linear SVM trainers.  
 <a href="classshark_1_1_abstract_linear_svm_trainer.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_abstract_svm_trainer_8h_source.html">shark/Algorithms/Trainers/AbstractSvmTrainer.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for shark::AbstractLinearSvmTrainer&lt; InputType &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classshark_1_1_abstract_linear_svm_trainer__inherit__graph.png" border="0" usemap="#ashark_1_1_abstract_linear_svm_trainer_3_01_input_type_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ashark_1_1_abstract_linear_svm_trainer_3_01_input_type_01_4_inherit__map" id="ashark_1_1_abstract_linear_svm_trainer_3_01_input_type_01_4_inherit__map">
<area shape="rect" title="Super class of all linear SVM trainers." alt="" coords="246,78,418,119"/>
<area shape="rect" href="classshark_1_1_linear_c_svm_trainer.html" title=" " alt="" coords="469,45,642,86"/>
<area shape="poly" title=" " alt="" coords="433,81,468,75,469,81,433,86"/>
<area shape="rect" href="classshark_1_1_squared_hinge_linear_c_svm_trainer.html" title=" " alt="" coords="466,110,645,151"/>
<area shape="poly" title=" " alt="" coords="434,110,466,115,465,120,433,116"/>
<area shape="rect" href="classshark_1_1_abstract_trainer.html" title=" " alt="" coords="5,5,198,61"/>
<area shape="poly" title=" " alt="" coords="213,62,258,75,257,80,212,67"/>
<area shape="rect" href="classshark_1_1_qp_config.html" title="Super class of all support vector machine trainers." alt="" coords="43,86,160,111"/>
<area shape="poly" title=" " alt="" coords="175,96,245,96,245,101,175,101"/>
<area shape="rect" href="classshark_1_1_i_parameterizable.html" title="Top level interface for everything that holds parameters." alt="" coords="22,136,181,176"/>
<area shape="poly" title=" " alt="" coords="196,130,247,117,248,122,197,135"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:afd9542675b41765f725846a0d9814c5e" id="r_afd9542675b41765f725846a0d9814c5e"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_linear_classifier.html">LinearClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#afd9542675b41765f725846a0d9814c5e">ModelType</a></td></tr>
<tr class="separator:afd9542675b41765f725846a0d9814c5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_abstract_trainer"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_abstract_trainer')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_abstract_trainer.html">shark::AbstractTrainer&lt; LinearClassifier&lt; InputType &gt;, unsigned int &gt;</a></td></tr>
<tr class="memitem:a0d5c9d35b614d6a33e4e8bfeaf1e9298 inherit pub_types_classshark_1_1_abstract_trainer" id="r_a0d5c9d35b614d6a33e4e8bfeaf1e9298"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_linear_classifier.html">LinearClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_trainer.html#a0d5c9d35b614d6a33e4e8bfeaf1e9298">ModelType</a></td></tr>
<tr class="separator:a0d5c9d35b614d6a33e4e8bfeaf1e9298 inherit pub_types_classshark_1_1_abstract_trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cfa7cdd27b8bb162e64188095f8fa71 inherit pub_types_classshark_1_1_abstract_trainer" id="r_a0cfa7cdd27b8bb162e64188095f8fa71"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_classifier.html#a33186c46c8fb9472d9e2c219be2c66f4">ModelType::InputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a></td></tr>
<tr class="separator:a0cfa7cdd27b8bb162e64188095f8fa71 inherit pub_types_classshark_1_1_abstract_trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4e344106831fb8227c2120681588ea9 inherit pub_types_classshark_1_1_abstract_trainer" id="r_aa4e344106831fb8227c2120681588ea9"><td class="memItemLeft" align="right" valign="top">typedef unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_trainer.html#aa4e344106831fb8227c2120681588ea9">LabelType</a></td></tr>
<tr class="separator:aa4e344106831fb8227c2120681588ea9 inherit pub_types_classshark_1_1_abstract_trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4730fe9d59622d35d95cd4233f8d7af inherit pub_types_classshark_1_1_abstract_trainer" id="r_aa4730fe9d59622d35d95cd4233f8d7af"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a>&lt; <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a>, <a class="el" href="classshark_1_1_abstract_trainer.html#aa4e344106831fb8227c2120681588ea9">LabelType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_trainer.html#aa4730fe9d59622d35d95cd4233f8d7af">DatasetType</a></td></tr>
<tr class="separator:aa4730fe9d59622d35d95cd4233f8d7af inherit pub_types_classshark_1_1_abstract_trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_i_parameterizable"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_i_parameterizable')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_i_parameterizable.html">shark::IParameterizable&lt; VectorType &gt;</a></td></tr>
<tr class="memitem:a2ad5e2e60b2b352988b41f46024d790b inherit pub_types_classshark_1_1_i_parameterizable" id="r_a2ad5e2e60b2b352988b41f46024d790b"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">ParameterVectorType</a></td></tr>
<tr class="separator:a2ad5e2e60b2b352988b41f46024d790b inherit pub_types_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aef1e11708ae6adc64c75243cbc5acb89" id="r_aef1e11708ae6adc64c75243cbc5acb89"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#aef1e11708ae6adc64c75243cbc5acb89">AbstractLinearSvmTrainer</a> (double <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#ac310ca5530798f1190130d8495dd2f07">C</a>, bool offset, bool unconstrained)</td></tr>
<tr class="separator:aef1e11708ae6adc64c75243cbc5acb89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac310ca5530798f1190130d8495dd2f07" id="r_ac310ca5530798f1190130d8495dd2f07"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#ac310ca5530798f1190130d8495dd2f07">C</a> () const</td></tr>
<tr class="memdesc:ac310ca5530798f1190130d8495dd2f07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the value of the regularization parameter C.  <br /></td></tr>
<tr class="separator:ac310ca5530798f1190130d8495dd2f07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61480c0f4f75a280ed65c5bce0d285da" id="r_a61480c0f4f75a280ed65c5bce0d285da"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a61480c0f4f75a280ed65c5bce0d285da">setC</a> (double <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#ac310ca5530798f1190130d8495dd2f07">C</a>)</td></tr>
<tr class="memdesc:a61480c0f4f75a280ed65c5bce0d285da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the value of the regularization parameter C.  <br /></td></tr>
<tr class="separator:a61480c0f4f75a280ed65c5bce0d285da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8206943892e647fa0cb763f68bf603ae" id="r_a8206943892e647fa0cb763f68bf603ae"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a8206943892e647fa0cb763f68bf603ae">isUnconstrained</a> () const</td></tr>
<tr class="memdesc:a8206943892e647fa0cb763f68bf603ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the regularization parameter provided in logarithmic (unconstrained) form as a parameter?  <br /></td></tr>
<tr class="separator:a8206943892e647fa0cb763f68bf603ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d00f5cfe51a496a1511219d12a4c054" id="r_a5d00f5cfe51a496a1511219d12a4c054"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a5d00f5cfe51a496a1511219d12a4c054">trainOffset</a> () const</td></tr>
<tr class="separator:a5d00f5cfe51a496a1511219d12a4c054"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78155370989cbdd02f04050693eccac5" id="r_a78155370989cbdd02f04050693eccac5"><td class="memItemLeft" align="right" valign="top">RealVector&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a78155370989cbdd02f04050693eccac5">parameterVector</a> () const</td></tr>
<tr class="memdesc:a78155370989cbdd02f04050693eccac5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the hyper-parameter vector.  <br /></td></tr>
<tr class="separator:a78155370989cbdd02f04050693eccac5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af04cf4a3c0d918bc9f2925d4e7839859" id="r_af04cf4a3c0d918bc9f2925d4e7839859"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#af04cf4a3c0d918bc9f2925d4e7839859">setParameterVector</a> (RealVector const &amp;newParameters)</td></tr>
<tr class="memdesc:af04cf4a3c0d918bc9f2925d4e7839859"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the vector of hyper-parameters.  <br /></td></tr>
<tr class="separator:af04cf4a3c0d918bc9f2925d4e7839859"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ed007917fc44b741ed25b472f3438dd" id="r_a5ed007917fc44b741ed25b472f3438dd"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a5ed007917fc44b741ed25b472f3438dd">numberOfParameters</a> () const</td></tr>
<tr class="memdesc:a5ed007917fc44b741ed25b472f3438dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of hyper-parameters.  <br /></td></tr>
<tr class="separator:a5ed007917fc44b741ed25b472f3438dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_abstract_trainer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_abstract_trainer')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_abstract_trainer.html">shark::AbstractTrainer&lt; LinearClassifier&lt; InputType &gt;, unsigned int &gt;</a></td></tr>
<tr class="memitem:a71d3fd2567473d746ecb733d7fa28c7e inherit pub_methods_classshark_1_1_abstract_trainer" id="r_a71d3fd2567473d746ecb733d7fa28c7e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_trainer.html#a71d3fd2567473d746ecb733d7fa28c7e">train</a> (<a class="el" href="classshark_1_1_abstract_trainer.html#a0d5c9d35b614d6a33e4e8bfeaf1e9298">ModelType</a> &amp;model, <a class="el" href="classshark_1_1_abstract_trainer.html#aa4730fe9d59622d35d95cd4233f8d7af">DatasetType</a> const &amp;dataset)=0</td></tr>
<tr class="memdesc:a71d3fd2567473d746ecb733d7fa28c7e inherit pub_methods_classshark_1_1_abstract_trainer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Core of the Trainer interface.  <br /></td></tr>
<tr class="separator:a71d3fd2567473d746ecb733d7fa28c7e inherit pub_methods_classshark_1_1_abstract_trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_nameable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_nameable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_nameable.html">shark::INameable</a></td></tr>
<tr class="memitem:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable" id="r_a877dbdfc6b58ea836495143cea44a98c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_nameable.html#a877dbdfc6b58ea836495143cea44a98c">~INameable</a> ()</td></tr>
<tr class="separator:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9893f99314de30cd472e649c235d0db4 inherit pub_methods_classshark_1_1_i_nameable" id="r_a9893f99314de30cd472e649c235d0db4"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_nameable.html#a9893f99314de30cd472e649c235d0db4">name</a> () const</td></tr>
<tr class="memdesc:a9893f99314de30cd472e649c235d0db4 inherit pub_methods_classshark_1_1_i_nameable"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the name of the object  <br /></td></tr>
<tr class="separator:a9893f99314de30cd472e649c235d0db4 inherit pub_methods_classshark_1_1_i_nameable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_serializable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_serializable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_serializable.html">shark::ISerializable</a></td></tr>
<tr class="memitem:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable" id="r_a7baa9ce108d7278822297ce15882782a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a7baa9ce108d7278822297ce15882782a">~ISerializable</a> ()</td></tr>
<tr class="memdesc:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual d'tor.  <br /></td></tr>
<tr class="separator:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4ad9a7c274deff642f91e98417fbc63 inherit pub_methods_classshark_1_1_i_serializable" id="r_ad4ad9a7c274deff642f91e98417fbc63"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#ad4ad9a7c274deff642f91e98417fbc63">read</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive)</td></tr>
<tr class="memdesc:ad4ad9a7c274deff642f91e98417fbc63 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read the component from the supplied archive.  <br /></td></tr>
<tr class="separator:ad4ad9a7c274deff642f91e98417fbc63 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bddedd42933c922e323b73131f62f12 inherit pub_methods_classshark_1_1_i_serializable" id="r_a9bddedd42933c922e323b73131f62f12"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a9bddedd42933c922e323b73131f62f12">write</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive) const</td></tr>
<tr class="memdesc:a9bddedd42933c922e323b73131f62f12 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write the component to the supplied archive.  <br /></td></tr>
<tr class="separator:a9bddedd42933c922e323b73131f62f12 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable" id="r_abdda0c5b8e065b8afbac2cba8f58e841"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#abdda0c5b8e065b8afbac2cba8f58e841">load</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive, unsigned int version)</td></tr>
<tr class="memdesc:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned loading of components, calls read(...).  <br /></td></tr>
<tr class="separator:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable" id="r_a5bf66fa8db15cc529bec98976a2f5255"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a5bf66fa8db15cc529bec98976a2f5255">save</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive, unsigned int version) const</td></tr>
<tr class="memdesc:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned storing of components, calls write(...).  <br /></td></tr>
<tr class="separator:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable" id="r_a4560a94e8f4908fe8627e41e7d965735"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a4560a94e8f4908fe8627e41e7d965735">BOOST_SERIALIZATION_SPLIT_MEMBER</a> ()</td></tr>
<tr class="separator:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_qp_config"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_qp_config')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_qp_config.html">shark::QpConfig</a></td></tr>
<tr class="memitem:afca82d9f41e7ca9dc16f958571143ea4 inherit pub_methods_classshark_1_1_qp_config" id="r_afca82d9f41e7ca9dc16f958571143ea4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#afca82d9f41e7ca9dc16f958571143ea4">QpConfig</a> (bool precomputedFlag=false, bool sparsifyFlag=true)</td></tr>
<tr class="memdesc:afca82d9f41e7ca9dc16f958571143ea4 inherit pub_methods_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <br /></td></tr>
<tr class="separator:afca82d9f41e7ca9dc16f958571143ea4 inherit pub_methods_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66fa342063f4fb0c8686a821dd14370e inherit pub_methods_classshark_1_1_qp_config" id="r_a66fa342063f4fb0c8686a821dd14370e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structshark_1_1_qp_stopping_condition.html">QpStoppingCondition</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#a66fa342063f4fb0c8686a821dd14370e">stoppingCondition</a> ()</td></tr>
<tr class="memdesc:a66fa342063f4fb0c8686a821dd14370e inherit pub_methods_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read/write access to the stopping condition.  <br /></td></tr>
<tr class="separator:a66fa342063f4fb0c8686a821dd14370e inherit pub_methods_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa26b91d3c5f8907fdf977e3dafedc9a7 inherit pub_methods_classshark_1_1_qp_config" id="r_aa26b91d3c5f8907fdf977e3dafedc9a7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structshark_1_1_qp_stopping_condition.html">QpStoppingCondition</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#aa26b91d3c5f8907fdf977e3dafedc9a7">stoppingCondition</a> () const</td></tr>
<tr class="memdesc:aa26b91d3c5f8907fdf977e3dafedc9a7 inherit pub_methods_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read access to the stopping condition.  <br /></td></tr>
<tr class="separator:aa26b91d3c5f8907fdf977e3dafedc9a7 inherit pub_methods_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ea8552b2732cbfe664b7d0706c46d80 inherit pub_methods_classshark_1_1_qp_config" id="r_a0ea8552b2732cbfe664b7d0706c46d80"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structshark_1_1_qp_solution_properties.html">QpSolutionProperties</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#a0ea8552b2732cbfe664b7d0706c46d80">solutionProperties</a> ()</td></tr>
<tr class="memdesc:a0ea8552b2732cbfe664b7d0706c46d80 inherit pub_methods_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access to the solution properties.  <br /></td></tr>
<tr class="separator:a0ea8552b2732cbfe664b7d0706c46d80 inherit pub_methods_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae90c5c93fc02fad6fc07ca6b04fc78cc inherit pub_methods_classshark_1_1_qp_config" id="r_ae90c5c93fc02fad6fc07ca6b04fc78cc"><td class="memItemLeft" align="right" valign="top">bool &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#ae90c5c93fc02fad6fc07ca6b04fc78cc">precomputeKernel</a> ()</td></tr>
<tr class="memdesc:ae90c5c93fc02fad6fc07ca6b04fc78cc inherit pub_methods_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flag for using a precomputed kernel matrix.  <br /></td></tr>
<tr class="separator:ae90c5c93fc02fad6fc07ca6b04fc78cc inherit pub_methods_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0de2262f5cfb80a3b42706a5121a53e5 inherit pub_methods_classshark_1_1_qp_config" id="r_a0de2262f5cfb80a3b42706a5121a53e5"><td class="memItemLeft" align="right" valign="top">bool const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#a0de2262f5cfb80a3b42706a5121a53e5">precomputeKernel</a> () const</td></tr>
<tr class="memdesc:a0de2262f5cfb80a3b42706a5121a53e5 inherit pub_methods_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flag for using a precomputed kernel matrix.  <br /></td></tr>
<tr class="separator:a0de2262f5cfb80a3b42706a5121a53e5 inherit pub_methods_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32477b55142b80bd9f82f2a2e201f5b9 inherit pub_methods_classshark_1_1_qp_config" id="r_a32477b55142b80bd9f82f2a2e201f5b9"><td class="memItemLeft" align="right" valign="top">bool &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#a32477b55142b80bd9f82f2a2e201f5b9">sparsify</a> ()</td></tr>
<tr class="memdesc:a32477b55142b80bd9f82f2a2e201f5b9 inherit pub_methods_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flag for sparsifying the model after training.  <br /></td></tr>
<tr class="separator:a32477b55142b80bd9f82f2a2e201f5b9 inherit pub_methods_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7af8db760393211a1c1416d3b1f53611 inherit pub_methods_classshark_1_1_qp_config" id="r_a7af8db760393211a1c1416d3b1f53611"><td class="memItemLeft" align="right" valign="top">bool const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#a7af8db760393211a1c1416d3b1f53611">sparsify</a> () const</td></tr>
<tr class="memdesc:a7af8db760393211a1c1416d3b1f53611 inherit pub_methods_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flag for sparsifying the model after training.  <br /></td></tr>
<tr class="separator:a7af8db760393211a1c1416d3b1f53611 inherit pub_methods_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab538a92231c05e20575f181b06c5689d inherit pub_methods_classshark_1_1_qp_config" id="r_ab538a92231c05e20575f181b06c5689d"><td class="memItemLeft" align="right" valign="top">bool &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#ab538a92231c05e20575f181b06c5689d">shrinking</a> ()</td></tr>
<tr class="memdesc:ab538a92231c05e20575f181b06c5689d inherit pub_methods_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flag for shrinking in the decomposition solver.  <br /></td></tr>
<tr class="separator:ab538a92231c05e20575f181b06c5689d inherit pub_methods_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac60da7ecd51c8eceea655cc60492e4a7 inherit pub_methods_classshark_1_1_qp_config" id="r_ac60da7ecd51c8eceea655cc60492e4a7"><td class="memItemLeft" align="right" valign="top">bool const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#ac60da7ecd51c8eceea655cc60492e4a7">shrinking</a> () const</td></tr>
<tr class="memdesc:ac60da7ecd51c8eceea655cc60492e4a7 inherit pub_methods_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flag for shrinking in the decomposition solver.  <br /></td></tr>
<tr class="separator:ac60da7ecd51c8eceea655cc60492e4a7 inherit pub_methods_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a4d6d3ff5c8acbd809108786e973f7a inherit pub_methods_classshark_1_1_qp_config" id="r_a5a4d6d3ff5c8acbd809108786e973f7a"><td class="memItemLeft" align="right" valign="top">bool &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#a5a4d6d3ff5c8acbd809108786e973f7a">s2do</a> ()</td></tr>
<tr class="memdesc:a5a4d6d3ff5c8acbd809108786e973f7a inherit pub_methods_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flag for S2DO (instead of SMO)  <br /></td></tr>
<tr class="separator:a5a4d6d3ff5c8acbd809108786e973f7a inherit pub_methods_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f20cd2196e1fc785a18cb155eb5ec68 inherit pub_methods_classshark_1_1_qp_config" id="r_a7f20cd2196e1fc785a18cb155eb5ec68"><td class="memItemLeft" align="right" valign="top">bool const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#a7f20cd2196e1fc785a18cb155eb5ec68">s2do</a> () const</td></tr>
<tr class="memdesc:a7f20cd2196e1fc785a18cb155eb5ec68 inherit pub_methods_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flag for S2DO (instead of SMO)  <br /></td></tr>
<tr class="separator:a7f20cd2196e1fc785a18cb155eb5ec68 inherit pub_methods_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71328214090e442c9fee46103868b0ca inherit pub_methods_classshark_1_1_qp_config" id="r_a71328214090e442c9fee46103868b0ca"><td class="memItemLeft" align="right" valign="top">unsigned int &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#a71328214090e442c9fee46103868b0ca">verbosity</a> ()</td></tr>
<tr class="memdesc:a71328214090e442c9fee46103868b0ca inherit pub_methods_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verbosity level of the solver.  <br /></td></tr>
<tr class="separator:a71328214090e442c9fee46103868b0ca inherit pub_methods_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60f71b218d096838f527c6eb62a75501 inherit pub_methods_classshark_1_1_qp_config" id="r_a60f71b218d096838f527c6eb62a75501"><td class="memItemLeft" align="right" valign="top">unsigned int const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#a60f71b218d096838f527c6eb62a75501">verbosity</a> () const</td></tr>
<tr class="memdesc:a60f71b218d096838f527c6eb62a75501 inherit pub_methods_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verbosity level of the solver.  <br /></td></tr>
<tr class="separator:a60f71b218d096838f527c6eb62a75501 inherit pub_methods_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a240e6aeb51dee3764a4ee3962e0ff7e0 inherit pub_methods_classshark_1_1_qp_config" id="r_a240e6aeb51dee3764a4ee3962e0ff7e0"><td class="memItemLeft" align="right" valign="top">unsigned long long const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#a240e6aeb51dee3764a4ee3962e0ff7e0">accessCount</a> () const</td></tr>
<tr class="memdesc:a240e6aeb51dee3764a4ee3962e0ff7e0 inherit pub_methods_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of kernel accesses.  <br /></td></tr>
<tr class="separator:a240e6aeb51dee3764a4ee3962e0ff7e0 inherit pub_methods_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a435ff9b5dd3337872c2e49d46c95c417 inherit pub_methods_classshark_1_1_qp_config" id="r_a435ff9b5dd3337872c2e49d46c95c417"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#a435ff9b5dd3337872c2e49d46c95c417">setMinAccuracy</a> (double a)</td></tr>
<tr class="separator:a435ff9b5dd3337872c2e49d46c95c417 inherit pub_methods_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0ebe3d3e7163bb1eb7a5f3a56b95644 inherit pub_methods_classshark_1_1_qp_config" id="r_aa0ebe3d3e7163bb1eb7a5f3a56b95644"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#aa0ebe3d3e7163bb1eb7a5f3a56b95644">setMaxIterations</a> (unsigned long long i)</td></tr>
<tr class="separator:aa0ebe3d3e7163bb1eb7a5f3a56b95644 inherit pub_methods_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac13ad894e8ac68325c6f7ebb629e644c inherit pub_methods_classshark_1_1_qp_config" id="r_ac13ad894e8ac68325c6f7ebb629e644c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#ac13ad894e8ac68325c6f7ebb629e644c">setTargetValue</a> (double v)</td></tr>
<tr class="separator:ac13ad894e8ac68325c6f7ebb629e644c inherit pub_methods_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1453635db8f97cec56f4f943e31e7520 inherit pub_methods_classshark_1_1_qp_config" id="r_a1453635db8f97cec56f4f943e31e7520"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#a1453635db8f97cec56f4f943e31e7520">setMaxSeconds</a> (double s)</td></tr>
<tr class="separator:a1453635db8f97cec56f4f943e31e7520 inherit pub_methods_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_parameterizable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_parameterizable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_parameterizable.html">shark::IParameterizable&lt; VectorType &gt;</a></td></tr>
<tr class="memitem:a9e3a11172e74d1aa7292f3de4e2b6ebc inherit pub_methods_classshark_1_1_i_parameterizable" id="r_a9e3a11172e74d1aa7292f3de4e2b6ebc"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#a9e3a11172e74d1aa7292f3de4e2b6ebc">~IParameterizable</a> ()</td></tr>
<tr class="separator:a9e3a11172e74d1aa7292f3de4e2b6ebc inherit pub_methods_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a5032921be220d76232e7db3db3ef5225" id="r_a5032921be220d76232e7db3db3ef5225"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structshark_1_1_qp_stopping_condition.html">QpStoppingCondition</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a5032921be220d76232e7db3db3ef5225">m_stoppingcondition</a></td></tr>
<tr class="memdesc:a5032921be220d76232e7db3db3ef5225"><td class="mdescLeft">&#160;</td><td class="mdescRight">conditions for when to stop the QP solver  <br /></td></tr>
<tr class="separator:a5032921be220d76232e7db3db3ef5225"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a994efb841504c52e509d0bac04f41fb2" id="r_a994efb841504c52e509d0bac04f41fb2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structshark_1_1_qp_solution_properties.html">QpSolutionProperties</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a994efb841504c52e509d0bac04f41fb2">m_solutionproperties</a></td></tr>
<tr class="memdesc:a994efb841504c52e509d0bac04f41fb2"><td class="mdescLeft">&#160;</td><td class="mdescRight">properties of the approximate solution found by the solver  <br /></td></tr>
<tr class="separator:a994efb841504c52e509d0bac04f41fb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6f54a3b58cd6a2e1774d5decf8fcc79" id="r_ad6f54a3b58cd6a2e1774d5decf8fcc79"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#ad6f54a3b58cd6a2e1774d5decf8fcc79">m_verbosity</a></td></tr>
<tr class="memdesc:ad6f54a3b58cd6a2e1774d5decf8fcc79"><td class="mdescLeft">&#160;</td><td class="mdescRight">verbosity level (currently unused)  <br /></td></tr>
<tr class="separator:ad6f54a3b58cd6a2e1774d5decf8fcc79"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a8c550ac91378f3c0239969414f2fd28a" id="r_a8c550ac91378f3c0239969414f2fd28a"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a8c550ac91378f3c0239969414f2fd28a">m_C</a></td></tr>
<tr class="memdesc:a8c550ac91378f3c0239969414f2fd28a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Regularization parameter. The exact meaning depends on the sub-class, but the value is always positive, and higher implies a less regular solution.  <br /></td></tr>
<tr class="separator:a8c550ac91378f3c0239969414f2fd28a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef391c43b6111422e95ae58797ce36c8" id="r_aef391c43b6111422e95ae58797ce36c8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#aef391c43b6111422e95ae58797ce36c8">m_trainOffset</a></td></tr>
<tr class="memdesc:aef391c43b6111422e95ae58797ce36c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the SVM trained with or without bias?  <br /></td></tr>
<tr class="separator:aef391c43b6111422e95ae58797ce36c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a431b4445a96cafef50a412a33b906a55" id="r_a431b4445a96cafef50a412a33b906a55"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a431b4445a96cafef50a412a33b906a55">m_unconstrained</a></td></tr>
<tr class="memdesc:a431b4445a96cafef50a412a33b906a55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is log(C) stored internally as a parameter instead of C? If yes, then we get rid of the constraint C &gt; 0 on the level of the parameter interface.  <br /></td></tr>
<tr class="separator:a431b4445a96cafef50a412a33b906a55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classshark_1_1_qp_config"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classshark_1_1_qp_config')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classshark_1_1_qp_config.html">shark::QpConfig</a></td></tr>
<tr class="memitem:a5032921be220d76232e7db3db3ef5225 inherit pro_attribs_classshark_1_1_qp_config" id="r_a5032921be220d76232e7db3db3ef5225"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structshark_1_1_qp_stopping_condition.html">QpStoppingCondition</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#a5032921be220d76232e7db3db3ef5225">m_stoppingcondition</a></td></tr>
<tr class="memdesc:a5032921be220d76232e7db3db3ef5225 inherit pro_attribs_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">conditions for when to stop the QP solver  <br /></td></tr>
<tr class="separator:a5032921be220d76232e7db3db3ef5225 inherit pro_attribs_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a994efb841504c52e509d0bac04f41fb2 inherit pro_attribs_classshark_1_1_qp_config" id="r_a994efb841504c52e509d0bac04f41fb2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structshark_1_1_qp_solution_properties.html">QpSolutionProperties</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#a994efb841504c52e509d0bac04f41fb2">m_solutionproperties</a></td></tr>
<tr class="memdesc:a994efb841504c52e509d0bac04f41fb2 inherit pro_attribs_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">properties of the approximate solution found by the solver  <br /></td></tr>
<tr class="separator:a994efb841504c52e509d0bac04f41fb2 inherit pro_attribs_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d65189eed8ced4b3cadb2392cf2b46c inherit pro_attribs_classshark_1_1_qp_config" id="r_a5d65189eed8ced4b3cadb2392cf2b46c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#a5d65189eed8ced4b3cadb2392cf2b46c">m_precomputedKernelMatrix</a></td></tr>
<tr class="memdesc:a5d65189eed8ced4b3cadb2392cf2b46c inherit pro_attribs_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">should the solver use a precomputed kernel matrix?  <br /></td></tr>
<tr class="separator:a5d65189eed8ced4b3cadb2392cf2b46c inherit pro_attribs_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3288e99aefde9b1d7e30992d5feb582e inherit pro_attribs_classshark_1_1_qp_config" id="r_a3288e99aefde9b1d7e30992d5feb582e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#a3288e99aefde9b1d7e30992d5feb582e">m_sparsify</a></td></tr>
<tr class="memdesc:a3288e99aefde9b1d7e30992d5feb582e inherit pro_attribs_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">should the trainer sparsify the model after training?  <br /></td></tr>
<tr class="separator:a3288e99aefde9b1d7e30992d5feb582e inherit pro_attribs_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7bd118550c2bfa50f9497182b4b086d inherit pro_attribs_classshark_1_1_qp_config" id="r_ac7bd118550c2bfa50f9497182b4b086d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#ac7bd118550c2bfa50f9497182b4b086d">m_shrinking</a></td></tr>
<tr class="memdesc:ac7bd118550c2bfa50f9497182b4b086d inherit pro_attribs_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">should shrinking be used?  <br /></td></tr>
<tr class="separator:ac7bd118550c2bfa50f9497182b4b086d inherit pro_attribs_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82049a531c2f9621c737c8fe51d53739 inherit pro_attribs_classshark_1_1_qp_config" id="r_a82049a531c2f9621c737c8fe51d53739"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#a82049a531c2f9621c737c8fe51d53739">m_s2do</a></td></tr>
<tr class="memdesc:a82049a531c2f9621c737c8fe51d53739 inherit pro_attribs_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">should S2DO be used instead of SMO?  <br /></td></tr>
<tr class="separator:a82049a531c2f9621c737c8fe51d53739 inherit pro_attribs_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6f54a3b58cd6a2e1774d5decf8fcc79 inherit pro_attribs_classshark_1_1_qp_config" id="r_ad6f54a3b58cd6a2e1774d5decf8fcc79"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#ad6f54a3b58cd6a2e1774d5decf8fcc79">m_verbosity</a></td></tr>
<tr class="memdesc:ad6f54a3b58cd6a2e1774d5decf8fcc79 inherit pro_attribs_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">verbosity level (currently unused)  <br /></td></tr>
<tr class="separator:ad6f54a3b58cd6a2e1774d5decf8fcc79 inherit pro_attribs_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a073a19a266651c9a689f433b93ea4e3f inherit pro_attribs_classshark_1_1_qp_config" id="r_a073a19a266651c9a689f433b93ea4e3f"><td class="memItemLeft" align="right" valign="top">unsigned long long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_qp_config.html#a073a19a266651c9a689f433b93ea4e3f">m_accessCount</a></td></tr>
<tr class="memdesc:a073a19a266651c9a689f433b93ea4e3f inherit pro_attribs_classshark_1_1_qp_config"><td class="mdescLeft">&#160;</td><td class="mdescRight">kernel access count  <br /></td></tr>
<tr class="separator:a073a19a266651c9a689f433b93ea4e3f inherit pro_attribs_classshark_1_1_qp_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a>&gt;<br />
class shark::AbstractLinearSvmTrainer&lt; InputType &gt;</div><p>Super class of all linear SVM trainers. </p>
<dl class="section user"><dt></dt><dd>This class is analogous to the <a class="el" href="classshark_1_1_abstract_svm_trainer.html" title="Super class of all kernelized (non-linear) SVM trainers.">AbstractSvmTrainer</a> class, but for training of linear SVMs. It represents the regularization parameter of the SVM. The class also manages meta-information of the training process, like the stopping criterion and information on the actual solution. </dd></dl>

<p class="definition">Definition at line <a class="el" href="_abstract_svm_trainer_8h_source.html#l00320">320</a> of file <a class="el" href="_abstract_svm_trainer_8h_source.html">AbstractSvmTrainer.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="afd9542675b41765f725846a0d9814c5e" name="afd9542675b41765f725846a0d9814c5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd9542675b41765f725846a0d9814c5e">&#9670;&#160;</a></span>ModelType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_linear_classifier.html">LinearClassifier</a>&lt;<a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a>&gt; <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html">shark::AbstractLinearSvmTrainer</a>&lt; <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt;::ModelType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_svm_trainer_8h_source.html#l00327">327</a> of file <a class="el" href="_abstract_svm_trainer_8h_source.html">AbstractSvmTrainer.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aef1e11708ae6adc64c75243cbc5acb89" name="aef1e11708ae6adc64c75243cbc5acb89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef1e11708ae6adc64c75243cbc5acb89">&#9670;&#160;</a></span>AbstractLinearSvmTrainer()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html">shark::AbstractLinearSvmTrainer</a>&lt; <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt;::AbstractLinearSvmTrainer </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>C</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>unconstrained</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructor </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">C</td><td>regularization parameter - always the 'true' value of C, even when unconstrained is set </td></tr>
    <tr><td class="paramname">offset</td><td>train svm with offset - this is not supported for all SVM solvers. </td></tr>
    <tr><td class="paramname">unconstrained</td><td>when a C-value is given via setParameter, should it be piped through the exp-function before using it in the solver? </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_abstract_svm_trainer_8h_source.html#l00333">333</a> of file <a class="el" href="_abstract_svm_trainer_8h_source.html">AbstractSvmTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#ac310ca5530798f1190130d8495dd2f07">shark::AbstractLinearSvmTrainer&lt; InputType &gt;::C()</a>, and <a class="el" href="_exception_8h.html#adce1f80097c69010f5eab2618fa2e971">SHARK_RUNTIME_CHECK</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac310ca5530798f1190130d8495dd2f07" name="ac310ca5530798f1190130d8495dd2f07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac310ca5530798f1190130d8495dd2f07">&#9670;&#160;</a></span>C()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html">shark::AbstractLinearSvmTrainer</a>&lt; <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt;::C </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the value of the regularization parameter C. </p>

<p class="definition">Definition at line <a class="el" href="_abstract_svm_trainer_8h_source.html#l00340">340</a> of file <a class="el" href="_abstract_svm_trainer_8h_source.html">AbstractSvmTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a8c550ac91378f3c0239969414f2fd28a">shark::AbstractLinearSvmTrainer&lt; InputType &gt;::m_C</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#aef1e11708ae6adc64c75243cbc5acb89">shark::AbstractLinearSvmTrainer&lt; InputType &gt;::AbstractLinearSvmTrainer()</a>, <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a61480c0f4f75a280ed65c5bce0d285da">shark::AbstractLinearSvmTrainer&lt; InputType &gt;::setC()</a>, and <a class="el" href="classshark_1_1_squared_hinge_linear_c_svm_trainer.html#a9c7df5c98dee200e4214abac74ad3bab">shark::SquaredHingeLinearCSvmTrainer&lt; InputType &gt;::train()</a>.</p>

</div>
</div>
<a id="a8206943892e647fa0cb763f68bf603ae" name="a8206943892e647fa0cb763f68bf603ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8206943892e647fa0cb763f68bf603ae">&#9670;&#160;</a></span>isUnconstrained()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html">shark::AbstractLinearSvmTrainer</a>&lt; <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt;::isUnconstrained </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Is the regularization parameter provided in logarithmic (unconstrained) form as a parameter? </p>

<p class="definition">Definition at line <a class="el" href="_abstract_svm_trainer_8h_source.html#l00350">350</a> of file <a class="el" href="_abstract_svm_trainer_8h_source.html">AbstractSvmTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a431b4445a96cafef50a412a33b906a55">shark::AbstractLinearSvmTrainer&lt; InputType &gt;::m_unconstrained</a>.</p>

</div>
</div>
<a id="a5ed007917fc44b741ed25b472f3438dd" name="a5ed007917fc44b741ed25b472f3438dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ed007917fc44b741ed25b472f3438dd">&#9670;&#160;</a></span>numberOfParameters()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html">shark::AbstractLinearSvmTrainer</a>&lt; <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt;::numberOfParameters </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the number of hyper-parameters. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#aed1e8d1d4dbde387e2f6a25141ed3a20">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_abstract_svm_trainer_8h_source.html#l00372">372</a> of file <a class="el" href="_abstract_svm_trainer_8h_source.html">AbstractSvmTrainer.h</a>.</p>

</div>
</div>
<a id="a78155370989cbdd02f04050693eccac5" name="a78155370989cbdd02f04050693eccac5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78155370989cbdd02f04050693eccac5">&#9670;&#160;</a></span>parameterVector()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealVector <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html">shark::AbstractLinearSvmTrainer</a>&lt; <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt;::parameterVector </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the hyper-parameter vector. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#afaa2ba692ab64a0edbff60d7ee6794db">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_abstract_svm_trainer_8h_source.html#l00357">357</a> of file <a class="el" href="_abstract_svm_trainer_8h_source.html">AbstractSvmTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a8c550ac91378f3c0239969414f2fd28a">shark::AbstractLinearSvmTrainer&lt; InputType &gt;::m_C</a>, and <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a431b4445a96cafef50a412a33b906a55">shark::AbstractLinearSvmTrainer&lt; InputType &gt;::m_unconstrained</a>.</p>

</div>
</div>
<a id="a61480c0f4f75a280ed65c5bce0d285da" name="a61480c0f4f75a280ed65c5bce0d285da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61480c0f4f75a280ed65c5bce0d285da">&#9670;&#160;</a></span>setC()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html">shark::AbstractLinearSvmTrainer</a>&lt; <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt;::setC </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>C</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the value of the regularization parameter C. </p>

<p class="definition">Definition at line <a class="el" href="_abstract_svm_trainer_8h_source.html#l00344">344</a> of file <a class="el" href="_abstract_svm_trainer_8h_source.html">AbstractSvmTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#ac310ca5530798f1190130d8495dd2f07">shark::AbstractLinearSvmTrainer&lt; InputType &gt;::C()</a>, <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a8c550ac91378f3c0239969414f2fd28a">shark::AbstractLinearSvmTrainer&lt; InputType &gt;::m_C</a>, and <a class="el" href="_exception_8h.html#adce1f80097c69010f5eab2618fa2e971">SHARK_RUNTIME_CHECK</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#af04cf4a3c0d918bc9f2925d4e7839859">shark::AbstractLinearSvmTrainer&lt; InputType &gt;::setParameterVector()</a>.</p>

</div>
</div>
<a id="af04cf4a3c0d918bc9f2925d4e7839859" name="af04cf4a3c0d918bc9f2925d4e7839859"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af04cf4a3c0d918bc9f2925d4e7839859">&#9670;&#160;</a></span>setParameterVector()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html">shark::AbstractLinearSvmTrainer</a>&lt; <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt;::setParameterVector </td>
          <td>(</td>
          <td class="paramtype">RealVector const &amp;&#160;</td>
          <td class="paramname"><em>newParameters</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the vector of hyper-parameters. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#ad5e35d1a10ff36fa72ea787baa40e9ad">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_abstract_svm_trainer_8h_source.html#l00365">365</a> of file <a class="el" href="_abstract_svm_trainer_8h_source.html">AbstractSvmTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a431b4445a96cafef50a412a33b906a55">shark::AbstractLinearSvmTrainer&lt; InputType &gt;::m_unconstrained</a>, <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a61480c0f4f75a280ed65c5bce0d285da">shark::AbstractLinearSvmTrainer&lt; InputType &gt;::setC()</a>, and <a class="el" href="_exception_8h.html#a73abb5049a0168d72a48e72dda41708b">SHARK_ASSERT</a>.</p>

</div>
</div>
<a id="a5d00f5cfe51a496a1511219d12a4c054" name="a5d00f5cfe51a496a1511219d12a4c054"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d00f5cfe51a496a1511219d12a4c054">&#9670;&#160;</a></span>trainOffset()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html">shark::AbstractLinearSvmTrainer</a>&lt; <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt;::trainOffset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_svm_trainer_8h_source.html#l00353">353</a> of file <a class="el" href="_abstract_svm_trainer_8h_source.html">AbstractSvmTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#aef391c43b6111422e95ae58797ce36c8">shark::AbstractLinearSvmTrainer&lt; InputType &gt;::m_trainOffset</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a8c550ac91378f3c0239969414f2fd28a" name="a8c550ac91378f3c0239969414f2fd28a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c550ac91378f3c0239969414f2fd28a">&#9670;&#160;</a></span>m_C</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html">shark::AbstractLinearSvmTrainer</a>&lt; <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt;::m_C</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Regularization parameter. The exact meaning depends on the sub-class, but the value is always positive, and higher implies a less regular solution. </p>

<p class="definition">Definition at line <a class="el" href="_abstract_svm_trainer_8h_source.html#l00380">380</a> of file <a class="el" href="_abstract_svm_trainer_8h_source.html">AbstractSvmTrainer.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#ac310ca5530798f1190130d8495dd2f07">shark::AbstractLinearSvmTrainer&lt; InputType &gt;::C()</a>, <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a78155370989cbdd02f04050693eccac5">shark::AbstractLinearSvmTrainer&lt; InputType &gt;::parameterVector()</a>, and <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a61480c0f4f75a280ed65c5bce0d285da">shark::AbstractLinearSvmTrainer&lt; InputType &gt;::setC()</a>.</p>

</div>
</div>
<a id="a994efb841504c52e509d0bac04f41fb2" name="a994efb841504c52e509d0bac04f41fb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a994efb841504c52e509d0bac04f41fb2">&#9670;&#160;</a></span>m_solutionproperties</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structshark_1_1_qp_solution_properties.html">QpSolutionProperties</a> shark::QpConfig::m_solutionproperties</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>properties of the approximate solution found by the solver </p>

<p class="definition">Definition at line <a class="el" href="_abstract_svm_trainer_8h_source.html#l00153">153</a> of file <a class="el" href="_abstract_svm_trainer_8h_source.html">AbstractSvmTrainer.h</a>.</p>

</div>
</div>
<a id="a5032921be220d76232e7db3db3ef5225" name="a5032921be220d76232e7db3db3ef5225"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5032921be220d76232e7db3db3ef5225">&#9670;&#160;</a></span>m_stoppingcondition</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structshark_1_1_qp_stopping_condition.html">QpStoppingCondition</a> shark::QpConfig::m_stoppingcondition</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>conditions for when to stop the QP solver </p>

<p class="definition">Definition at line <a class="el" href="_abstract_svm_trainer_8h_source.html#l00151">151</a> of file <a class="el" href="_abstract_svm_trainer_8h_source.html">AbstractSvmTrainer.h</a>.</p>

</div>
</div>
<a id="aef391c43b6111422e95ae58797ce36c8" name="aef391c43b6111422e95ae58797ce36c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef391c43b6111422e95ae58797ce36c8">&#9670;&#160;</a></span>m_trainOffset</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html">shark::AbstractLinearSvmTrainer</a>&lt; <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt;::m_trainOffset</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Is the SVM trained with or without bias? </p>

<p class="definition">Definition at line <a class="el" href="_abstract_svm_trainer_8h_source.html#l00381">381</a> of file <a class="el" href="_abstract_svm_trainer_8h_source.html">AbstractSvmTrainer.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a5d00f5cfe51a496a1511219d12a4c054">shark::AbstractLinearSvmTrainer&lt; InputType &gt;::trainOffset()</a>.</p>

</div>
</div>
<a id="a431b4445a96cafef50a412a33b906a55" name="a431b4445a96cafef50a412a33b906a55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a431b4445a96cafef50a412a33b906a55">&#9670;&#160;</a></span>m_unconstrained</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html">shark::AbstractLinearSvmTrainer</a>&lt; <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt;::m_unconstrained</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Is log(C) stored internally as a parameter instead of C? If yes, then we get rid of the constraint C &gt; 0 on the level of the parameter interface. </p>

<p class="definition">Definition at line <a class="el" href="_abstract_svm_trainer_8h_source.html#l00382">382</a> of file <a class="el" href="_abstract_svm_trainer_8h_source.html">AbstractSvmTrainer.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a8206943892e647fa0cb763f68bf603ae">shark::AbstractLinearSvmTrainer&lt; InputType &gt;::isUnconstrained()</a>, <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#a78155370989cbdd02f04050693eccac5">shark::AbstractLinearSvmTrainer&lt; InputType &gt;::parameterVector()</a>, and <a class="el" href="classshark_1_1_abstract_linear_svm_trainer.html#af04cf4a3c0d918bc9f2925d4e7839859">shark::AbstractLinearSvmTrainer&lt; InputType &gt;::setParameterVector()</a>.</p>

</div>
</div>
<a id="ad6f54a3b58cd6a2e1774d5decf8fcc79" name="ad6f54a3b58cd6a2e1774d5decf8fcc79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6f54a3b58cd6a2e1774d5decf8fcc79">&#9670;&#160;</a></span>m_verbosity</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">unsigned int shark::QpConfig::m_verbosity</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>verbosity level (currently unused) </p>

<p class="definition">Definition at line <a class="el" href="_abstract_svm_trainer_8h_source.html#l00163">163</a> of file <a class="el" href="_abstract_svm_trainer_8h_source.html">AbstractSvmTrainer.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/Algorithms/Trainers/<a class="el" href="_abstract_svm_trainer_8h_source.html">AbstractSvmTrainer.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
